Can't get the script in the user menu

Hi!
I'm having problems when trying to put the script in the DOORS user menu.

I created the folder, inside him i paste three files one hlp, one idx, and one dxl:
 

pragma runLim,0
 
 
bool globalIsTest = true
 
 
#include <./addins/user/H_includeBaseline/H_includeBaseline-Implem/H_includeBaseline-Core.dxl>

 


Then created the folder H_includeBaseline-Implem
and put the dxl with the code there. Then the option appear in the DOORS menu, put its not avaliable.

 


Bruwbruw - Thu May 24 07:29:10 EDT 2012

Re: Can't get the script in the user menu
Bruwbruw - Thu May 24 07:38:08 EDT 2012

Found the answer in the forum...Sorry!

Re: Can't get the script in the user menu
Bruwbruw - Thu May 24 07:39:14 EDT 2012

Bruwbruw - Thu May 24 07:38:08 EDT 2012
Found the answer in the forum...Sorry!

https://www.ibm.com/developerworks/forums/thread.jspa?messageID=14235711&#14235711

Re: Can't get the script in the user menu
Bruwbruw - Thu May 24 07:53:11 EDT 2012

An error message that I didn't get the reason why.

Re: Can't get the script in the user menu
Bruwbruw - Thu May 24 08:00:37 EDT 2012

Bruwbruw - Thu May 24 07:53:11 EDT 2012
An error message that I didn't get the reason why.

This is my code
 

// Select samples from current module
/* 
Description
This script was made to obtain information about the history of an object (requirement). To facilitate the search for baselines and changes that may have been omitted during the creation of the EPR.

*/
 
/*    -------------------------------- **** --------------------------------
        
        Preprocessor directives
        
        -------------------------------- **** -------------------------------- */
 
pragma runLim,0
 
/*      -------------------------------- **** --------------------------------
        
        Project global declarations
        
        -------------------------------- **** -------------------------------- */
 
bool globalIsTest = true
 
/*      -------------------------------- **** --------------------------------
        
        Includes
                Update when released to public
        -------------------------------- **** -------------------------------- */
 
 
#include <./addins/user/H_includeBaseline/H_includeBaseline-Implem/H_includeBaseline-Core.dxl>

 


and when i go to the menu the follows errors appear:

-E- DXL: <./addins/user/H_includeBaseline/H_includeBaseline-Implem/H_includeBaseline-Core.dxl:1> badly formed token (")
Included from:
<Line:31>
-E- DXL: <./addins/user/H_includeBaseline/H_includeBaseline-Implem/H_includeBaseline-Core.dxl:1> syntax error
Included from:
<Line:31>
-E- DXL: <./addins/user/H_includeBaseline/H_includeBaseline-Implem/H_includeBaseline-Core.dxl:2> badly formed token (EOF)
Included from:
<Line:31>
-I- DXL: all done with 3 errors and 0 warnings
It is what I don't get I did it like the DOORS example.

 

Re: Can't get the script in the user menu
Bruwbruw - Thu May 24 08:28:18 EDT 2012

The problem was in my script and not in the file were I was looking...
Sorry for the trouble.